/*
 * ObjectWrapper.java
 *
 * Created on May 18, 2007, 1:49 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package com.vce.web.jsf;

import java.io.Serializable;

/**
 *
 * @author lruiz
 */
public class ObjectEnvelope implements Serializable{
    private Object wrapped;
    private boolean marked;
    /** Creates a new instance of ObjectWrapper */
    public ObjectEnvelope(Object wrapped) {
        this.wrapped = wrapped;
    }
    
    public void setMarked(boolean marked){
        this.marked = marked;
    }
    
    public boolean isMarked(){
        return this.marked;
    }
    
    public Object getWrapped(){
        return wrapped;
    }
}
